import React, { Component } from "react";
import { HashRouter, Switch, Route } from "react-router-dom";
import Home from "./views/Home"
import Details from "./views/Details"
import Login from "./views/Login"


class Router extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    return (
      <div>
        <HashRouter>
          <Switch>
          <Route path="/details" component={Details}/>
          <Route path="/login" component={Login}/>
          <Route path="/" component={Home}/>
          </Switch>
          
          <Route/>
        </HashRouter>
      </div>
    );
  }
}

export default Router;
